/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ISPcompliance.service.internal;

import za.ac.cput.ISPcompliance.model.Boxes;
import za.ac.cput.ISPcompliance.service.VolumeService;

/**
 *
 * @author Enkosi
 */
public class VolumeServiceImpl implements VolumeService{

    @Override
    public int calcVolume(Boxes boxes) {
        return (boxes.getHeight() * boxes.getLength() * boxes.getWidth());
    }
    
}
